home *** CD-ROM | disk | FTP | other *** search
- RENAME Used to RENAME a file. (May be abbreviated
- as REN.)
-
- Format: RENAME [D:Path] OldName NewName
-
- Example: RENAME LTRTEN.TXT LTR10TXT.ARK
-
- Changes the name of the file named LTRTEN.TXT that
- resides in the CURRENT directory to LTR10TXT.ARK.
-
- Example: RENAME \WP\*.TXT *.ARK
-
- Changes the names (extenstions ONLY )of ALL files in
- the \WP directory on the CURRENT drive that have an
- extension of .TXT to filenames with extensions of
- .ARK. (The original filenames (1st eigth characters)
- are retained (do NOT change), but the extensions on
- each of these files are changed to .ARK).
- [*] Unlike the COPY command, which creates duplicates
- of the files, RENAME merely CHANGES the name of a
- file.
-
- [*] Since a RENAMEd file does not change location on
- the disk, the RENAME command does not require, or
- allow, the NewFile name to be preceded by a path
- parameter.
-
- [*] Since the COPY command allows you to make a backup
- copy of file(s) with new name(s) WITHOUT destroying
- the original file(s), it is recommended that COPY be
- used to create BACKUPs of files instead of using the
- RENAME command, which merely changes the name.